package Java_test2;

public class Lunchuan {
    double load;//载重
    double paishui;//排水量
    double hangsu;//航速
    public Lunchuan(double l,double p,double h){
        this.load=l;
        this.paishui=p;
        this.hangsu=h;
    }
    public void start(){
        System.out.println("启航");
    }
    public void mingdi(){
        System.out.println("鸣笛");
    }
    public void paomao(){
        System.out.println("抛锚");
    }
}
